Techniques for secure message offloading

ABSTRACT

Techniques for secure message offloading are presented. An intermediary is transparently situated between a user&#39;s local messaging client and an external and remote messaging client. The user authenticates to the local client for access and the intermediary authenticates the user for access to the remote client using different credentials unknown to the user. Messages sent from the local client are transparently encrypted by the intermediary before being passed to the remote client and messages received from the remote client are transparently decrypted before being delivered to the local client.

This application is a continuation of U.S. patent application Ser. No.14/592,741, filed Jan. 8, 2015, which is a continuation of U.S. patentapplication Ser. No. 13/485,567, filed May 31, 2012, now issued as U.S.Pat. No. 8,938,613, each of which is incorporated herein by reference inits entirety.

BACKGROUND

Cloud computing is rapidly changing the Internet into a collection ofclouds, which provide a variety of computing resources, storageresources, and, in the future, a variety of resources that are currentlyunimagined.

As the industry moves email workloads to the cloud, which were oncehoused locally within the enterprise, the security of the enterprise isbeing compromised, because private information moves outside the controlof the company. One of the main concerns when moving to Software as aService (SaaS) application within the cloud is “data leakage.”Furthermore, the complexity of management increases along with theability to secure the privacy of email.

The security problem is created because an in-house administrator nolonger has control of email messages that are stored in the cloud.Control is delegated to a cloud vendor, who may have many customers andmay even mix customers email data within a single store. Such asituation limits the controls that a company administrator can have ofthe company email messages. So, it is no longer possible to controlwhich employees are to be trusted with confidential data in thecompanies email messages. The location of the email data stores may noteven be known by the company administrator; notwithstanding what othercompanies are using the same store for their email or what level ofsecurity is used to safe guard the data. The situation makes it verydifficult to prevent “data leakage” from the corporate/enterprise emailsystem.

This problem has already occurred with the U.S. government Google emailaccounts, which were hacked and which had large data leakage. Secretaryof State, Hilary Clinton, has already had to make public statementsadmitting that there had been data lost from the email cloud used bygovernment workers. These problems impair cloud acceptance and thosecompanies that use cloud-based services. Cost will continue to drivecompanies to the cloud, but companies need keep the same level ofsecurity and control that they had when the data was controlled on theirpremises; particularly for sensitive data, such as emails.

SUMMARY

Various embodiments of the invention provide techniques for secure emailoffloading. Specifically, and in one embodiment a method for securemessage offloading is presented.

In an embodiment, a login by a user is detected from a local messagingclient to a local messaging server. The user is separately logged into acloud-based messaging service using credentials for the cloud-basedmessage service that are different from other credentials used by theuser to achieve the login with the local messaging server and thecredentials are unknown to the user. Securely processing messages sentfrom and delivered to the user on the local messaging client bytransparently acting as an intermediary between the local messagingservice and the cloud-based messaging service.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram depicting a technique for initially provisioning anew user with credentials for a SaaS email service, according to thetechniques presented herein.

FIG. 2 is a diagram depicting a technique for transparently signing theuser of the FIG. 1 into the SaaS email service via a local email system,according to techniques presented herein.

FIG. 3 is a diagram depicting a technique for transparently encryptingmessages sent from the local email system of the FIG. 2 to the SaaSemail service, according to techniques presented herein.

FIG. 4 is a diagram depicting a technique for transparently decryptingmessages received from the SaaS email service of the FIG. 3 in the localemail system, according to techniques presented herein.

FIG. 5 is a diagram of a method for secure message offloading, accordingto embodiments presented herein.

FIG. 6 is a diagram of another method for secure message offloading,according to embodiments presented herein.

FIG. 7 is a diagram of a secure message offloading system, according toembodiments presented herein.

DETAILED DESCRIPTION

A “resource” includes a user, service, system, device, directory, datastore, groups of users, combinations and/or collections of these things,etc. A “principal” is a specific type of resource, such as an automatedservice or user that acquires an identity. A designation as to what is aresource and what is a principal can change depending upon the contextof any given network transaction. Thus, if one resource attempts toaccess another resource, the actor of the transaction may be viewed as aprincipal.

An “identity” is something that is formulated from one or moreidentifiers and secrets that provide a statement of roles and/orpermissions that the identity has in relation to resources. An“identifier” is information, which may be private and permits anidentity to be formed, and some portions of an identifier may be publicinformation, such as a user identifier, name, etc. Some examples ofidentifiers include social security number (SSN), user identifier andpassword pair, account number, retina scan, fingerprint, face scan, etc.

A “workload” as used herein refers to a special type of resource, suchas a Virtual Machine (VM), an Operating System (OS), a cloud, a portionof a cloud, a set of coordinating services, a hardware device, an agent,an application, or various combinations of these things. The “workload”can also include a variety of other resources. For example, a workloadfor identity management may include a variety of secure database, avariety of authentication services, and a variety of network machines.

A “processing environment” defines a set of cooperating computingresources, such as machines (processor and memory-enabled devices),storage, software libraries, software systems, etc. that form a logicalcomputing infrastructure. A “logical computing infrastructure” meansthat computing resources can be geographically distributed across anetwork, such as the Internet. So, one computing resource at networksite X and be logically combined with another computing resource atnetwork site Y to form a logical processing environment.

The phrases “processing environment,” “cloud processing environment,”and the term “cloud” may be used interchangeably and synonymouslyherein.

Moreover, it is noted that a “cloud” refers to a logical and/or physicalprocessing environment as discussed above.

Various embodiments of this invention can be implemented in existingnetwork architectures. For example, in some embodiments, the techniquespresented herein are implemented in whole or in part in the Novell®operating system products, directory-based products, email or messagingproducts, cloud-computing-based products, and other products distributedby Novell®, Inc., Attachmate® Corporation, and/or NetIQ® Corporation.

Also, the techniques presented herein are implemented in machines, suchas processor or processor-enabled devices (hardware processors). Thesemachines are configured and programmed to specifically perform theprocessing of the methods and systems presented herein. Moreover, themethods and systems are implemented and reside within a non-transitorycomputer-readable storage media or machine-readable storage medium andare processed on the machines configured to perform the methods.

Of course, the embodiments of the invention can be implemented in avariety of architectural platforms, devices, operating and serversystems, and/or applications. Any particular architectural layout orimplementation presented herein is provided for purposes of illustrationand comprehension only and is not intended to limit aspects of theinvention.

It is within this context that embodiments of the invention are nowdiscussed within the context of the FIGS. 1-7.

FIG. 1 is a diagram depicting a technique for initially provisioning anew user with credentials for a SaaS email service, according to thetechniques presented herein. It is noted that the FIG. 1 is presentedfor purposes of illustration and comprehension. It is to be understoodthat other arrangements and/or components can be used to achieve theteachings presented herein and below. It is also noted that FIG. 1 ispresented from the perspective of a SaaS email service but othercloud-based messaging services may also be used without departing fromthe teachings provided herein; therefore, the embodiments provided arenot just limited to email-based implementations.

The components of the FIG. 1 are implemented in non-transitory andprocessor-readable storage medium and are executed on physicalprocessors on one or more networks. Each processor specificallyconfigured to execute the components.

As will be demonstrated more completely herein and below, the techniquespresented make message offloading secure and seamless for enterprises.

In an embodiment, this is achieved by creating an intelligent workloademail “agent” or “appliance,” such as via a transparent proxy device.The appliance is located on the customer's premises (local email serverenvironment) and acts as a local email Simple Mail Transfer Protocol(SMTP), Post Office Protocol (POP), or Internet Message Access Protocol(IMAP) server end point for the customer's email clients. In fact, itshould be noted that the embodiments are not tied to any particularcommunication protocol, such that any future developed communicationprotocol can use the teachings presented herein. The email clients uselocal authentication credentials to authenticate to the appliancewithout allowing the corporate credentials to leave the corporationboundaries. This allows the local email client authentication to useprotocols such as Kerberos, name and password or other local credentialswithout sharing keys, secrets or corporate passwords with the SaaS emailservice (remote messaging service). The appliance also validates userinput credentials locally. The appliance then uses generated SaaScredentials for the SaaS email service to act as an intermediary betweenthe local email client and the SaaS email service.

In an embodiment, the appliance includes the ability to provision emailaccounts to the SaaS email service. Policy is used to determine whichaccounts should be provisioned to the SaaS email service. The appliancegenerates a credential for each SaaS email account and stores it in anIdentity (ID) Vault of the appliance. The credential is set on the SaaSemail account, by the appliance, is unknown to the end user but is knownto the appliance.

So when a user uses his/her email client, the credential on the WINDOWS®or mobile based client uses the “name and password,” or other cooperatetokens that the user normal logs in with. These credentials are sent tothe appliance via standard email protocols. The appliance then validatesthe credentials from the user's email client. If the users “local clientcredentials” are correct, the appliance looks up, or creates, the “SaaSserver credentials” for this user. The “SaaS server credentials” arethen used to build a new email protocol request that is sent to the SaaSemail service. The appliance becomes an email proxy service to the SaaSservice from the user's client.

According to an embodiment, the appliance makes the connection with theSaaS email service as a proxy (such as transparent proxy) for the userand connects the user to the SaaS email service. This allows theappliance to have complete control of the type of security used. Theappliance can control, by policy, Secure Sockets Layer (SSL) connectionsand Transport Layer Security (TLS) connections. It can also control, bypolicy, the connection to the SaaS email service connection. These aretwo separate connections and can be different levels of encryption andare set by policy. This allows an administrator to control what level ofconnection security is used inside the corporation and what can be usedoutside the corporation. The various techniques and data flows describedabove are used for POP, IMAP and SMTP protocols. Thus, this places theappliance in the data flow for all sent and received email trafficsupported by the appliance. As a result, an enterprise can offloadmessage services and avoid the classic “Data Leakage” problem currentlyfaced by institutions that outsource their email services.

In another aspect of the invention presented herein, “Data Leakage” ofthe content of the email messages is prevented. In an embodiment, thisis achieved by the appliance using the information it has about amessage and a user to make policy decisions on how to encrypt and storethe message on a cloud-based email service, via standard emailprotocols. The encryption used by the appliance reformats the emailmessage, from the user's client, into a standard's based SecureMulti-purpose Internet Mail Exchange (S-MIME) message, and sends it tothe email service. This allows any email service (or messaging service)to handle the message without any modifications. The S-MIME encoding ofthe messages can be achieved with a different key for each user, or mayuse single keys for many users. Because the message is stored on theSaaS email service as an encrypted S-MIME message, and the decryptionkey is only stored on the appliance at the corporation (local processingenvironment of the corporations email/message server), the message issecure. In this way “data leakage” is prevented. If the SaaS service iscompromised, the contents of the message cannot be discovered withoutthe secret S-MIME key held at the corporation. Having access to the dataon the SaaS email server does not give access to the content of theemail messages.

Policies of the appliance can be configured to select when and how theemail messages are encrypted. An example of a policy includes, “if allrecipients of the email message are employees, then S-MIME encrypt witha common key.” It is noted that this is only an example and is not meantto limit the scope of the techniques presented herein. Other policystatements such as “ . . . encrypt with users key,” “create multiplemessages encrypted with different keys,” “lookup recipient and encryptwith his/her public key,” and many other forms of policy are easilyachieved as well.

So, when a user retrieves his/her messages with his/her clientapplication, using POP3 or IMAP (or others), the request is sent to theappliance. The appliance validates the user's local credentials and ifvalid forwards the request to the SaaS email service with the SaaScredentials for the user. The SaaS email service then returns the S-Mimeencrypted messages to the appliance, were the appliance detects theS-Mime encryption of the message. Policy then determines if the user hasrights to the message, if so the S-Mime message is decrypted with thekeys kept by the appliance. The decrypted message is then sent to theclient email application as a standard MIME message and is displayed tothe user.

This prevents “Data Leakage” of confidential messages that are stored onSaaS email service in the cloud. Therefore, the unencrypted message andkeys to read that message never leave the company's control.

According to an embodiment, since the only way to read messages that usevarious techniques presented herein are via the decryption, access tothe messages can be audited in a way that can guarantee that there is anaudit event created each time the message is read (decrypted). Such asituation allows non-repudiation of the generated audit event, which canbe used to prove that a message has been read.

In summary, some novel features of the techniques presented hereininclude:

1) preventing the use of corporate (or any credentials) passwords on aSaaS email server (or any cloud-based messaging service);

2) encrypting out bound messages from a corporation by converting themfrom Mime (or any insecure format) to S-Mime (or any secure format) asthey are sent to the SaaS service;

3) decrypting S-Mime messages from the SaaS service as they are sent tothe local message client of a user;

4) setting SaaS email accounts credentials by an intermediary (theappliance) transparent to the user;

5) generating a non-reputation audit event for each message read fromthe SaaS system;

It is to be noted that each of the novel features discussed above andbelow occur without changes or knowledge of the local messaging clientor the SaaS service (remote cloud-based messaging service).

With this context, the techniques are now discussed within the contextof the FIGS. 1-4 for an example implementation that securely offloads oroutsources email processing from a local email system to a SaaS emailsystem. It is to be again noted that the techniques can be used with anymessaging-based systems and are not strictly tied to email-basedimplementations.

Referring now to the FIG. 1 and its processing.

At “A,” a new user is enabled by policy to use the email system. Theappliance (local email server proxy) captures the event that allows thenew access to proceed.

At B, a user name and password pair are randomly generated for the userand stored in the ID Vault. Again, the user is completely unaware of thecontent of the user name and password pair and lacks the ability todiscover it.

At C, the appliance provisions the user with the generated password to aSaaS mail service.

At D (an in an embodiment), the audit system generates an event andsends it to a corporate auditing system.

FIG. 2 is a diagram depicting a technique for transparently signing theuser of the FIG. 1 into the SaaS email service via a local email system,according to techniques presented herein. Again, it is noted that thetechnique presented in the FIG. 2 can be used with other message-basedservices and does not have to be exclusively tied to SaaS emailservices. Moreover, the components of the FIG. 2 are implemented innon-transitory computer-readable storage medium that are executed onprocessing devices.

At “A,” the user uses his/her email client running on WINDOWS® (as oneexample) to access the corporate email system using his/her credentialssuch as Kerberos, name and password pair, or any other requiredcorporate login information. The user, via the client, connects to thecorporate email server in a normal manner and is unaware of theappliance and its processing that follows. Again, this connection to thecorporate email server from the email client can be SSL, TLS or noencryption at all based on policy.

At B, the appliance validates the corporate credentials at the corporatedirectory. This could be any form of credentials such as the name andpassword used to login the client workstation, Kerberos, NT Local AreaNetwork (LAN) Manager (NTLM), or whatever the client email softwaresupports.

At C, the now-authenticated user is mapped to the ID Vault and a requestfor credentials for the SaaS email service is made (this was generatedand described above with reference to the FIG. 1).

At D, the credentials for the SaaS Mail service are returned to a Proxy(a component of the appliance—it is noted the whole appliance may beviewed as a proxy).

At E (and in an embodiment), the audit component reports theauthentication to the corporate audit system.

At G, the appliance proxies the client request (A) to the SaaS emailService, via a firewall (G), with the credential from the ID Vault (D)to create an authenticated connection for the user to the SaaS emailservice. This connection may be SSL, TLS or use no encryption—theconnection type is based on a configured policy for the corporationand/or for the user. The SaaS email service replies (G) with a responseto the proxy that is sent to the client (A).

It is noted that the processing of “A,” E, and G may be repeated foreach client command given.

FIG. 3 is a diagram depicting a technique for transparently encryptingmessages sent from the local email system of the FIG. 2 to the SaaSemail service, according to techniques presented herein. The techniqueis not exclusively tied to SaaS email services and can be used with anycloud-based messaging services. The components of FIG. 3 are implementedin non-transitory computer-readable storage media, which execute on aprocessing device.

At “A,” the client sends a message via SMTP to the proxy. This is astandard's base Mime message. The proxy intercepts and redirects themessage to the cloud-based messaging service. The client and/or user ofthe local email service need not be aware of the redirection that takesplace via the proxy.

At B, the appliance receives the message and if policy requires(encryption is being used) retrieves the encryption key from the IDVault.

At C, the appliance uses the encryption key to build a new S-Mimemessage and the appliance sends the new S-Mime message to the SaaS emailService.

At D (and in an embodiment), an audit event is sent to the corporateaudit service.

FIG. 4 is a diagram depicting a technique for transparently decryptingmessages received from the SaaS email service of the FIG. 3 in the localemail system, according to techniques presented herein. Again, thetechnique is not exclusively tied to SaaS email services and can be usedwith any cloud-based message service. Furthermore, the components of theFIG. 4 are implemented in non-transitory computer-readable storage mediathat execute on one or more processing devices.

At “A,” the client sends an IMAP or POP “GET MESSAGE” request to whatthe client believes is the local email server but the proxy acquires therequest for processing.

At B, the appliance forwards or proxies the request to the SaaS emailservice and the requested message is returned.

At C, if the message is in S-Mime encrypted, the invention gets thecorresponding key(s) from the ID Vault if policy allows. The keys areused to decrypt the S-Mime message and build a Mime message.

At D (and in an embodiment), an audit event is sent to the corporateaudit service.

At E, the Mime message is sent to the client machine for access by theuser in a normal manner via the local email client software.

The FIGS. 1-4 describe how initial setup and processing can betransparently achieved for securely offloading or outsourcing emailprocessing, via an appliance (proxy). The discussion was presented fromthe perspective of email but it is noted can be used for anymessage-based service being securely outsourced to the cloud. Thepresented techniques provide for a variety of novel features some ofwhich were discussed above, such features include but are not limitedto:

1) Using a proxy to transform authentication to a third-party messagingservice without changing the native messaging service or the third-partyservice and without knowledge or the user associated with the localmessaging service.

-   -   A) Using a name and password (N/P) from one domain to        authenticate to another domain (local messaging service to the        remote (cloud-based) messaging service).    -   B) Transforming one form authentication to another such as N/P,        Kerberos, or NTLM to N/P (local message service can use        different authentication technique from that which is needed by        the remote messaging service).    -   C) Hiding the “Server Credentials” from the end user (user is        unaware of and lacks access to the remote messaging service        credentials).    -   D) Hiding the “Client Credentials” form the remote messaging        service (remote messaging service is unaware of and lacks access        to the local messaging service credentials).

2) Using a messaging service proxy to build a compliance audit trail.

-   -   A) Audit authentication.    -   B) Audit read messages.    -   C) Audit sent messages.    -   D) Provide non-reputation for message access.

3) Using a messaging service proxy to provide access control tomessaging services; this can be custom policy based.

4) Integrating a proxy service, an ID Vault and a provisioning serviceto provide Single Sign-On (SSO) to multiple messaging services (localmessaging service and remote messaging service).

-   -   A) Providing password (any credential) generation and other        credential algorithmic creation and storage.    -   B) Automated account creation with known/unknown secrets or        credentials.    -   C) Automatically updated passwords at a SaaS service, without        user interaction.

5) Using a proxy to provide and guarantee that all data traffic sentoutside of the corporation's firewall is protected by SSL or TLSsecurity.

-   -   A) Data sent between the techniques presented herein and the        client can be via a clear (no encryption) connection or via a        SSL (encryption based) connection.    -   B) Data sent to the mail service from the techniques presented        herein can be protected by SSL and cannot be set by the end user        but is set by a company administrator.

Now various other embodiments and additional descriptions andenhancements to the techniques presented above are discussed within thecontext of the processing associated with the FIGS. 5-7.

FIG. 5 is a diagram of a method 500 for secure message offloading,according to embodiments presented herein. The method 500 (hereinreferred to as “message-outsource manager”) is implemented, programmed,and resides within a non-transitory machine-readable storage medium thatexecutes on one or more processors of a network. The network may bewired, wireless, or a combination of wired and wireless.

At 510, the message-outsource manager detects a login from a localmessaging client to a local messaging server. The login is processed bya user. In an embodiment, a user uses his/her email client (one type ofa local messaging client) to login to his/her corresponding email server(one type of a local messaging server). The user is completely unawareof the presence of the message-outsource manager as is the localmessaging client. The detection of the login by the user can occurbefore the successful login occurs or after a successful login occurs ina variety of manners, some of which were discussed above with referenceto the FIGS. 1-4 and some of which are discussed below.

According to an embodiment, at 511, the message-outsource managerinteracts with the cloud-based messaging service to establish thecredentials (discussed below with reference to the processing at 520)for an account of the user with the cloud-based message service.

Continuing with the embodiment of 511 and at 512, the message-outsourcemanager securely stores the account and credentials in a local datastore, which is local to the local messaging server within a localprocessing environment of the server.

In a scenario, at 513, the message-outsource manager detects an eventraised from the local messaging server indicating a successful login bythe user to the local messaging server. In other words, themessage-outsource manager can listen for specified events on specifiedports to detect when the successful login occurred or can be interjectedas a proxy to detect the event indicating a successful login.

In a different situation, at 514, the message-outsource manager acts asa front-end interface to the local messaging server to perform the loginto the local messaging server on behalf of the user. This can be a proxysituation where the local messaging client believes that it iscontacting the local messaging server and is redirected to themessage-outsource manager where the message-outsource manager passesthrough the login credentials for authenticating to the local messagingserver. Even in this scenario, it is to be noted that no changes need tonecessarily occur with the local messaging client or the local messagingserver, such that the presence of the message-outsource manager canremain undetected with respect to these entities and such that nochanges are needed with these entities for the message-outsource managerto integrate its processing.

At 520, the message-outsource manager logs the user into a cloud-basedmessaging service using credentials for the cloud-based messagingservice. The credentials used by the message-outsource manager toauthenticate the user to the cloud-based messaging service are differentfrom other credentials used by the user to login to the local messagingserver (used in the processing at 510). The credentials used by themessage-outsource manager are unknown to and not accessible to the user.

According to an embodiment, at 521, the message-outsource manager uses acompletely different authentication mechanism to log the user into thecloud-based messaging service from that which the user used to performthe login to the local messaging server.

In another case, at 522, the message-outsource manager establishes anencrypted communication session with the cloud-based messaging servicebased on a policy when logging the user into the cloud-based messagingservice. So, SSL or TLS or any other type of encrypted communicationprotocol can be used to create a secure communication session with thecloud-based messaging service.

Continuing with the embodiment of 522 and at 523, the message-outsourcemanager uses an unencrypted or insecure communication session betweenthe local messaging client and the local messaging server based on thesame policy of 522 or a different policy being used from 522. This canoccur when both the local messaging client and the local messagingserver exists within the confines of a secure environment, such as a LANfirewalled environment.

So, the connections between the local client and local server can besecure or insecure and similarly the connections between themessage-outsource manager and the cloud-based messaging service can besecure or insecure. In fact, any combination of connection types can beused based on configured policies.

At 530, the message-outsource manager transparently acts as anintermediary between the local messaging server and the cloud-basedmessaging server to securely process messages sent from and delivered tothe user on the local messaging client. So, each message sent from anddelivered to the user via the local messaging client is inspected by themessage-outsource manager. In some situations, the select messages maybe simply passed through the message-outsource manager to the localmessaging server or the cloud-based messaging service with no action. Inother cases, based on policy the messages are encrypted and decrypted asdiscussed below.

In an embodiment, at 531, the message-outsource manager selectivelyencrypts sent messages and selectively decrypts received messages whileacting as the intermediary based on policy evaluation.

Continuing with the embodiment of 531 and at 532, the message-outsourcemanager acquires custom encryption and decryption keys from a local datastore to process the encrypted sent messages and the decrypted receivedmessages.

Still continuing with the embodiment of 531 and at 533, themessage-outsource manager used dynamically evaluated criteria associatedwith the messages to evaluate conditions defined in the policy. Thecriteria can include a variety of information, such as: a user identityfor the user, a recipient identity for a recipient of a particularmessage, a sender identity for a sender of the particular message, adomain identifier for a domain used by the recipient and/or sender, acategory assigned to the particular message, and/or a score computed forkey terms identified in the particular message.

FIG. 6 is a diagram of another method 600 for secure message offloading,according to embodiments presented herein. The method 600 (herein afterreferred to as “message offload manager”) is implemented, programmed,and resides within a non-transitory machine-readable storage medium thatexecutes on one or more processors of a network. The network may bewired, wireless, or a combination of wired and wireless.

The message offload manager presents another and in some instances anenhanced perspective of the message outsource manager represented by themethod 5200 of the FIG. 5 (discussed above).

At 610, the message offload manager intercepts a message being sent froma local messaging system by a user to a recipient.

According to an embodiment, at 611, the message offload manager managesa connection on behalf of the user using an account for the user with acloud-based messaging system that is unknown to the user andinaccessible to the user.

At 620, the message offload manager acquires a custom-encryption keyfrom a local data store. That is, the message offload manager, the localdata store, and the local messaging system all process within the samelocal environment with one another. The local data store is managed andaccessible to the message offload manager but not the user or the localmessaging system.

In an embodiment, at 621, the message offload manager manages thecustom-encryption key on behalf of the user and the user is unaware ofand has no access to the custom-encryption key.

At 630, the message offload manager encrypts the message with thecustom-encryption key.

According to an embodiment, at 631, the message offload managerprocesses the encryption based on evaluation of a policy.

At 640, the message offload manager forwards the encrypted message to acloud-based messaging system for processing to the recipient. So, at notime does the cloud-based messaging system handle the message indecrypted format and the cloud-based messaging system has no access tothe encryption or corresponding decryption keys, which are managedexclusively under the control of the message offload manager within thelocal processing environment.

In an embodiment, at 650, the message offload manager can also intercepta second message directed to the user from the cloud-based messagingsystem. This second message sent from a sender of the second message. Itmay also be that the second message is sent directly to the local emailsystem bypassing the cloud-based messaging system and the messageoffload manager intercepts the second message before it can be processedby the local messaging system. Next, the message offload manageracquires a custom-decryption key from the local data store and decryptsthe second message with the custom-decryption key on behalf of the user.Finally, the message offload manager forwards the decrypted secondmessage to the local messaging system for processing to the user.

In another embodiment, the message offload manager is processed as aproxy, such as a transparent proxy, within the local processingenvironment of the local messaging system as discussed above.

FIG. 7 is a diagram of a secure message offloading system 700, accordingto embodiments presented herein. The components of the secure messageoffloading system 700 are implemented, programmed, and reside within anon-transitory machine-readable storage medium that executes on one ormore processors of a network. The network may be wired, wireless, or acombination of wired and wireless.

In an embodiment, the secure message offloading system 700 implements,inter alia, the processing associated with the methods 500 and 600 ofthe FIGS. 5 and 6, respectively.

The secure message offloading system 700 includes a proxy device 701.

The proxy device 701 includes one or more processors with memory and/orstorage and is programmed with executable instructions within anon-transitory computer-readable storage medium for execution on the oneor more processors. Example processing associated with the proxy deviceand its executable instructions was discussed above with reference tothe FIGS. 1-6.

The proxy device 701 is configured to transparently manage a cloud-basedaccount for a user to a cloud-based messaging system. Moreover, theproxy device 701 evaluates policy to selectively and transparentlyencrypt and decrypt messages sent from and to a user, via a localmessaging system. So, the proxy device 701 is used for securely andtransparently outsourcing or offloading message processing from theuser's local messaging system to the cloud-based messaging system.

According to an embodiment, the proxy device 701 is situated within alocal processing environment of the local messaging system.

Continuing with the previous embodiment, the local messaging system andthe cloud-based messaging system are different and disparate emailsystems from one another.

The above description is illustrative, and not restrictive. Many otherembodiments will be apparent to those of skill in the art upon reviewingthe above description. The scope of embodiments should therefore bedetermined with reference to the appended claims, along with the fullscope of equivalents to which such claims are entitled.

The invention claimed is:
 1. A method, comprising: providing a secure and custom encryption and decryption of messages sent from and directed to a messaging client, wherein the messaging client is unaware of the custom encryption and decryption service, and the custom encryption and decryption service is processed transparently by a cloud-based intermediary service to the messaging client; and transparently logging a user into access to the custom encryption and decryption service when the user logs into the messaging client, wherein transparently logging includes using different set of credentials from original credentials provided by the user when the user logs into the messaging client, where the different set of credentials are processed for logging the user into the custom encryption and decryption service.
 2. The method of claim 1 further comprising establishing an encrypted communication session between the processing of the method and the message client.
 3. The method of claim 1, wherein providing further includes intercepting those messages being sent from the messaging client and intercepting those messaged being directed to the messaging client in a manner that is transparent to the messaging client.
 4. The method of claim 1, wherein intercepting further includes performing the encryption and decryption of the messages at a Secure Socket Layer (SSL) and Transport Layer Security (TLS) level for network protocols processing the transport of the messages.
 5. The method of claim 1, wherein providing further includes obtaining an encryption and decryption key that is unique to a user of the messaging client for encrypting and decrypting the messages.
 6. The method of claim 5, wherein providing further includes transparently performing the encryption and decryption in a manner that the user is unaware of.
 7. The method of claim 1, wherein encrypting further includes obtaining a custom-encryption key to process the encryption and decryption of the messages, the custom-encryption key unique to a user of the message client.
 8. The method of claim 1 further comprising, reformatting those messages that are decrypted and directed to the messaging client as Secure Multi-purpose Main Exchange (S-MIME) messages. 